package com.gxs.spring5.bean;

/**
 * @author 桂贤松
 * @date 2022/1/24
 */
public class Orders {
    private String oname;
    public void setOname(String oname) {
        this.oname = oname;
        System.out.println("调用set方法");
    }
    public Orders() {
        System.out.println("new实例");
    }
    public void initMethod(){
        System.out.println("第一步 初始化实例");
    }
    public void destroyMethod(){
        System.out.println("销毁实例");
    }
}
